/*
 * table_CommandList.h
 *
 *  Created on: 2012/06/11
 *      Author: guanxiaoying
 */

#ifndef TABLE_CMDLIST_H_
#define TABLE_CMDLIST_H_

typedef struct _CMDLIST_ACCESS{
	BOOL (*clear)( VOID );
	BOOL (*reset)( VOID );
	BOOL (*alloc)( AST );
	AST  (*getMax)( VOID );
	ACCESS_U4_FIELD  opKind;
	ACCESS_IDX_FIELD codeScp;
	ACCESS_IDX_FIELD type;
	ACCESS_IDX_FIELD leftOperand;
	ACCESS_IDX_FIELD rightOperand;
	ACCESS_IDX_FIELD next;
	ACCESS_IDX_FIELD before;
	ACCESS_IDX_FIELD function;
	/*debug,12/10/10,S*/
	ACCESS_BOOL_FIELD bChg;
	/*debug,12/10/10,E*/
#ifdef RECORD_CMDLIST_LABEL
	ACCESS_STR_FIELD label;
#endif
}CMDLIST_ACCESS;
extern const CMDLIST_ACCESS stCmdListAccess;
#endif /* TABLE_CMDLIST_H_ */
